import request from '@/utils/request'

// 查询FPA列表
export function listFunctionActionFpa(query) {
  return request({
    url: '/fpa/functionActionFpa/list',
    method: 'get',
    params: query
  })
}

// 查询FPA详细
export function getFunctionActionFpa(id) {
  return request({
    url: '/fpa/functionActionFpa/' + id,
    method: 'get'
  })
}

// 新增FPA
export function addFunctionActionFpa(data) {
  return request({
    url: '/fpa/functionActionFpa',
    method: 'post',
    data: data
  })
}

// 修改FPA
export function updateFunctionActionFpa(data) {
  return request({
    url: '/fpa/functionActionFpa',
    method: 'put',
    data: data
  })
}

// 删除FPA
export function delFunctionActionFpa(id) {
  return request({
    url: '/fpa/functionActionFpa/' + id,
    method: 'delete'
  })
}
